<template lang="pug">
  keep-alive
    kalix-table(bizKey="networkdevicememory" title='网络设备内存' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="networkdevicememoryURL"
    v-bind:bizDialog="networkdevicememoryDialog"
    v-bind:btnList="networkdevicememoryBtnList"
    v-bind:buttonPermissionPrefix="buttonPermissionPrefix"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="NetworkdevicememorySearch")
</template>

<script type="text/ecmascript-6">
  import {NetworkdevicememoryURL, networkdevicememoryBtnPermissionPrefix} from '../config.toml'
  import {networkdevicememoryConfigBtnList} from './config'
  import KalixTable from '../../../components/corelib/components/common/baseTable'
  export default {
    name: 'kalix-dataPlatform-networkdevicememory',
    components: {KalixTable},
    data() {
      return {
        networkdevicememoryURL: NetworkdevicememoryURL,
        tableFields: [
          {prop: 'uuid', label: 'UUID'},
          {prop: 'name', label: '设备名称'}
        ],
        networkdevicememoryDialog: [
          {id: 'add', dialog: 'networkdevicememoryAdd'},
          {id: 'view', dialog: 'networkdevicememoryView'},
          {id: 'edit', dialog: 'networkdevicememoryEdit'}
        ],
        networkdevicememoryBtnList: networkdevicememoryConfigBtnList,
        buttonPermissionPrefix: networkdevicememoryBtnPermissionPrefix,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
